<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="icon" href="/favicon.ico">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>可视化打印</title>
    <link rel="stylesheet" type="text/css" media="print" href="/print-lock.css">
    <link href="/iconfont.css" rel="stylesheet">
    <link href="/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.js"></script>
<script>
    /**
     * 对外接口对象
     */
    var typrint = {

        /**
         * 模板数据
         */
        templateData : null,

        /**
         * 打印数据
         */
        printData : null,

        /**
         * 自定义元素
         */
        provider : null,

        /**
         * 保存数据
         * @param {newTemplateData,newPrintData}
         */
        saveData : function(newDatas) {
            console.log(newDatas)
        }
    }
    window.typrint = typrint


</script>
</body>
</html>
